#ifndef SQLITEDATABASEDAO_H
#define SQLITEDATABASEDAO_H

#include <QString>
#include <QtSql>

class SQliteDatabaseDAO
{
public:
    SQliteDatabaseDAO();

public:
    inline static const QString dbName = QStringLiteral("seatdetection.db");

private:
    QSqlDatabase database;

public:
    QSqlDatabase &GetDatabase() { return database; }

public:
    void connectDatabase(QString dbName = "");
    void createDatabaseTable(QString dbName = "");
    void openDatabase();
    void closeDatabase();

    void test();
};

#endif // SQLITEDATABASEDAO_H
